package com.codingfly.model.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GroupVo implements Serializable {
    private Integer id;

    private Integer type;

    private String code;

    private String name;

    private Integer orderNo;

    private Integer parentId;

    private List<GroupVo> children = new ArrayList();
}
